/*    */ package com.qmsk.business.member.memberCar.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class MemberCarDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfCustId(Integer custId)
/*    */     throws SQLException
/*    */   {
/* 25 */     Object[] params = { custId };
/* 26 */     return getGsonOfParams("select_custId", "json_custId", 
/* 27 */       params);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfCarId(Integer carId) throws SQLException {
/* 31 */     Object[] params = { carId };
/* 32 */     return getGsonOfParams("select_car_Id", "json_car_Id", 
/* 33 */       params);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfCarCustId(Integer custId) throws SQLException {
/* 37 */     Object[] params = { custId };
/* 38 */     return getGsonOfParams("select_car_custId", "select_json_car_custId", 
/* 39 */       params);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfCarLicense(String license) throws SQLException {
/* 43 */     Object[] params = { license };
/* 44 */     return getGsonOfParams("select_car_license", "select_json_car_license", 
/* 45 */       params);
/*    */   }
/*    */ 
/*    */   public int insertCustId_CarId(Object custId, Long carId, int isOwnerCar) throws SQLException {
/* 49 */     Object[] params = { custId, carId, Integer.valueOf(isOwnerCar) };
/* 50 */     return update("insert_custCar", params);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getListOfShopIdOpt(Map<String, ?> params, Integer nPageIdx, Short nPageSize) throws SQLException
/*    */   {
/* 55 */     return getGsonOfParams("selectSqlOfOpt", 
/* 56 */       "selectCountSqlOfOpt", "json_head_opt_All", 
/* 57 */       params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public int deleteCustCar(Object carId) throws SQLException {
/* 61 */     Object[] params = { carId };
/* 62 */     return update("deleteCustCar", params);
/*    */   }
/*    */ 
/*    */   public int deleteCustCarOfCustId(String[] strParams) throws SQLException {
/* 66 */     Map params = new HashMap();
/* 67 */     params.put("custId", strParams);
/* 68 */     return update("deleteCustCarOfCustId", params);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.member.memberCar.dao.MemberCarDAO
 * JD-Core Version:    0.5.3
 */